STEP 4: Use Dot Notation to make your sprite go to the left!

We can use a sprite's variable name to assign actions to a sprite. This is called dot notation.

  • Go to and drag in Go To.
  • Change the name in front .go_to to astro.
  • Change the first argument of .go_to to -7. Change the second argument to -4.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)